package c.francis.pojo;
import java.util.Date;
import org.springframework.stereotype.Component;
@Component
public class Subscription {
	private int id;
	private int mid;
	private String no,linkman,email,phone,status,remark,cretimeString;
	private Date cretime;
	public Subscription() {
		super();
	}
	
	public Subscription(int id, int mid, String no, String linkman, String email, String phone, String status,
			String remark, String cretimeString, Date cretime) {
		super();
		this.id = id;
		this.mid = mid;
		this.no = no;
		this.linkman = linkman;
		this.email = email;
		this.phone = phone;
		this.status = status;
		this.remark = remark;
		this.cretimeString = cretimeString;
		this.cretime = cretime;
	}

	public int getId() {
		return id;
	}
	public void setId(int id) {
		this.id = id;
	}
	public int getMid() {
		return mid;
	}
	public void setMid(int mid) {
		this.mid = mid;
	}
	public String getNo() {
		return no;
	}
	public void setNo(String no) {
		this.no = no;
	}
	
	public String getCretimeString() {
		return cretimeString;
	}

	public void setCretimeString(String cretimeString) {
		this.cretimeString = cretimeString;
	}

	public String getLinkman() {
		return linkman;
	}
	public void setLinkman(String linkman) {
		this.linkman = linkman;
	}
	public String getEmail() {
		return email;
	}
	public void setEmail(String email) {
		this.email = email;
	}
	public String getPhone() {
		return phone;
	}
	public void setPhone(String phone) {
		this.phone = phone;
	}
	public String getStatus() {
		return status;
	}
	public void setStatus(String status) {
		this.status = status;
	}
	public String getRemark() {
		return remark;
	}
	public void setRemark(String remark) {
		this.remark = remark;
	}
	public Date getCretime() {
		return cretime;
	}
	public void setCretime(Date cretime) {
		this.cretime = cretime;
	}

	@Override
	public String toString() {
		return "Subscription [id=" + id + ", mid=" + mid + ", no=" + no + ", linkman=" + linkman + ", email=" + email
				+ ", phone=" + phone + ", status=" + status + ", remark=" + remark + ", cretimeString=" + cretimeString
				+ ", cretime=" + cretime + "]";
	}
	
	
}
